package com.fast.pay.trade.dao.impl;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.fast.pay.common.core.dao.impl.BaseDaoImpl;
import com.fast.pay.trade.dao.RpChannelInfoDao;
import com.fast.pay.trade.entity.RpChannelInfo;

@Repository("RpChannelInfoDao")
public class RpChannelInfoDaoImpl  extends BaseDaoImpl<RpChannelInfo>  implements RpChannelInfoDao{

	@Override
	public RpChannelInfo selectByMerchantNoAndMerchantOrderNo(String channelCode, String tradeType) {
        Map<String , Object> paramMap = new HashMap<String , Object>();
        paramMap.put("channelCode",channelCode);
        paramMap.put("tradeType",tradeType);
        return super.getBy(paramMap);
    }

}
